/** 家长列表 */
export interface ParentListModel {
  id: number
  corp_id: number
  ww_corp_id: string
  ww_user_id: string
  employee_id: number
  user_id: number
  unionid: string
  nickname: string
  realname: string
  english_name: string
  sex: number
  mobile: string
  avatar: string
  created_at: string
  updated_at: string
  deleted_at: string
}

/** 家长详情 */
export interface ParentDetailsModel {
  id: number
  mobile: string
  user_id: number
  nickname: string
  realname: string
  avatar: string
  student: Student[]
}

/** 课程详情 */
export interface CourseModel {
  key: string
  uc_student_id: number
  student_name: string
  student_grade: string
  student_course_id: number
  course_id: number
  course_live_id: number
  course_name: string
  registration_time: string
  course_class_id: number
  class_form: string
  major_name: string
  assistant_name: string
  student_lesson_num: number
  started_lesson_num: number
  total_lesson_num: number
  attend_lesson_num: number
  attended_lesson_num: number
  attend_live_lesson_num: number
  finished_live_lesson_num: number
  id: number
  city_id: number
  class_id: number
  all_class_id: null
  new_class_id: string
  course_title: string
  created_at: string
  is_refund: number
  teach_type: number
  is_focus: number
  status: number
  subject_name: string
  bookstore_name: string
  enroll_time: string
  set: Set[]
  start_date: string
  end_date: string
  start_time: string
  end_time: string
  campus_name: string
}

export interface Set {
  disabled: number
  name: string
  type: number
  url: string
}

export interface Student {
  address: string
  avatar: string
  birthday: null
  city_id: number
  created_at: string
  gender: number
  grade_id: number
  grade_name: string
  id: number
  mobile: string
  real_name: string
  status: number
  student_card: string
  user_id: number
}

/** 历史沟通记录 */
export interface CommunicateRecords {
  call_status: number
  call_status_name: string
  call_uuid: string
  class_id: number
  communication_channel: number
  communication_channel_name: string
  course_id: number
  course_name: string
  create_time: string
  duration: number
  follow_employee_id: number
  follow_employee_name: string
  id: number
  lesson_id: number
  mobile: string
  platform_type: number
  remark: string
  student_name: string
  type: number
  uc_student_id: number
}

export interface StudentCoursesNumModel {
  online_num: number
  offline_num: number
  bookstore_num: number
}
